package com.atguigu.gulimall.search.controller;

/**
 * @author 薛剑
 * @date 2020-11-13 11:39
 */
public class SingleTest {

    volatile int n=0;

    public void setN() {
        this.n = 60;
    }

    private SingleTest() {
    }

    private final static SingleTest SINGLE_TEST = new SingleTest();

    public  static   SingleTest getsintest()
    {

        return SINGLE_TEST;
    }
}
